cargo-install: move binaries from the build dir if possible
authorGleb Kozyrev <gleb@gkoz.com>
Sat, 30 Apr 2016 23:46:41 +0000 (02:46 +0300)
committerGleb Kozyrev <gleb@gkoz.com>
Sat, 30 Apr 2016 23:46:41 +0000 (02:46 +0300)
commit9f0fa249b5d307bd97c8c4957a98ad9f47116bf9
tree5dc8cb8baaeb0fbfc10f1209a19214faadb94e21
parent9ea1f2af548992201cb2985874ae93937facfcf2
cargo-install: move binaries from the build dir if possible

Try moving the binaries (and fall back to copying) if the build
directory is a temporary one (source isn't a local path).
src/cargo/ops/cargo_install.rs